package com.aqie.appletserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

// 去除security 登录
@SpringBootApplication(scanBasePackages = {"com.aqie.appletserver", "org.n3r.idworker"},exclude = {SecurityAutoConfiguration.class})
@MapperScan("com.aqie.appletserver.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableRedisHttpSession // 开启使用redis作为spring session
public class AppletserverApplication {

    public static void main(String[] args) {
        SpringApplication.run(AppletserverApplication.class, args);
    }

}
